package com.kindsoft.demo.ldap;

/**
 * Created by zhoujm on 2020/2/20/020.
 */
public class Person {
    private String sn;
    private String cn;
    private String dn;
    private String company;
    private String description;
    private String givenName;
    private String objectClass;
    private String sAMAccountName;
    private String userAccountControl;
    private String userPrincipalName;
    private String distinguishedName;

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getCn() {
        return cn;
    }

    public void setCn(String cn) {
        this.cn = cn;
    }

    public String getDn() {
        return dn;
    }

    public void setDn(String dn) {
        this.dn = dn;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getGivenName() {
        return givenName;
    }

    public void setGivenName(String givenName) {
        this.givenName = givenName;
    }

    public String getObjectClass() {
        return objectClass;
    }

    public void setObjectClass(String objectClass) {
        this.objectClass = objectClass;
    }

    public String getSAMAccountName() {
        return sAMAccountName;
    }

    public void setSAMAccountName(String sAMAccountName) {
        this.sAMAccountName = sAMAccountName;
    }

    public String getUserAccountControl() {
        return userAccountControl;
    }

    public void setUserAccountControl(String userAccountControl) {
        this.userAccountControl = userAccountControl;
    }

    public String getUserPrincipalName() {
        return userPrincipalName;
    }

    public void setUserPrincipalName(String userPrincipalName) {
        this.userPrincipalName = userPrincipalName;
    }

    public String getDistinguishedName() {
        return distinguishedName;
    }

    public void setDistinguishedName(String distinguishedName) {
        this.distinguishedName = distinguishedName;
    }

    @Override
    public String toString() {
        return "Person{" +
                "sn='" + sn + '\'' +
                ", cn='" + cn + '\'' +
                ", dn='" + dn + '\'' +
                ", company='" + company + '\'' +
                ", description='" + description + '\'' +
                ", givenName='" + givenName + '\'' +
                ", objectClass='" + objectClass + '\'' +
                ", sAMAccountName='" + sAMAccountName + '\'' +
                ", userPrincipalName='" + userPrincipalName + '\'' +
                '}';
    }
}
